package com.grts.mall.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.grts.mall.common.CommonResult;
import com.grts.mall.pojo.vo.ProductAddVo;
import com.grts.mall.service.ImageService;

@Controller
public class ImageConroller {

	@Autowired
	private ImageService imageService;
	
	@RequestMapping("/image/del")
	@ResponseBody
	public CommonResult del(ProductAddVo vo){
		this.imageService.del(vo);
		return CommonResult.success();
	}
	
}
